package types

type RoleFindReqParamFilter struct {
	Code string `json:"code"`
}

type RoleFindReqParam struct {
	Filter RoleFindReqParamFilter `json:"filter"`
}

type RoleFindReq struct {
	Param RoleFindReqParam `json:"param"`
}
type Role struct {
	Code       string `json:"code"`
	Created    int64  `json:"created"`
	CreatedBy  int64  `json:"created_by"`
	ID         int64  `json:"id"`
	IsPlatform string `json:"is_platform"`
	Name       string `json:"name"`
	Type       string `json:"type"`
}

type RoleFindRes struct {
	Code int64  `json:"code"`
	Data Role   `json:"data"`
	Msg  string `json:"msg"`
}
